package com.wn.production.mapper;

import com.wn.entity.WorkOrderStock;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WorkOrderStockMapper {

    /**
     * @param lists
     * @return void
     * @ author zc
     * @ date 2022/10/26 17点42分
     * @ Description 增加工单库存中间表信息
     */
    void insert(List<WorkOrderStock> lists);


    /**
     * @param id
     * @return List<WorkOrderStock>
     * @ author zc
     * @ date 2022/10/26 17点42分
     * @ Description 根据工单表id查清单
     */
    List<WorkOrderStock> getByWorkOrderId(int id);

}
